package com.itheima.job;

import lombok.Data;
import lombok.Data;

@Data
public abstract class Employee {
    private String name;
    private String workId;
    private String dept;

    public Employee() {
    }

    public Employee(String name, String workId, String dept) {
        this.name = name;
        this.workId = workId;
        this.dept = dept;
    }

    abstract void showMsg();
}
